package com.lpit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lpit.pojo.SysAdmin;
import com.lpit.utils.Result;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【admin(root表)】的数据库操作Service
 * @createDate 2023-06-08 11:06:00
 */
public interface AdminService extends IService<SysAdmin> {

    Result<SysAdmin> login();

    public SysAdmin adminLogin(SysAdmin admin);

    /* 实现用户注册功能接口 */
    public String setAdminMapper(SysAdmin admin);

    /* 实现用户密码修改功能接口 */
    public String reviseAdmin(String username, String admin, String reviseAdmin);

    //    查询管理员用户
    public List<SysAdmin> inquire(SysAdmin sysAdmin);

//    删除管理员的方法
//   public String DeleteManagement(Integer adminId);
}
